#include <stdio.h>



int main(void)
{
	
	int arr[3][4]={
        {1,2,3,4},
        {6,7,8,9},
        {15,16,18,19}
        };

	int (*p)[4]=arr; //指针数组指向一整个数组，而不是&取地址
	int x=0;
	int y=0;
	for(x=0;x<3;x++){

		for(y=0;y<4;y++){
			printf("%d\n",*(*(p+x)+y));//这里相当于arr[x][y]
		}
		printf("\n");
	}
	printf("---------------------------------\n");
	printf("%d\n",*(*(p+2)+1));
	printf("%d\n",**(p+1));

	return 0;

}
